package com.clwl.supervise.superviseapp.entity.supervise;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
    * 非计划企业
    */
@Data
@TableName(value = "JG_UNPLANNED_COMPANY")
//@KeySequence(value = "JG_UNPLANNED_COMPANY_SEQ")
public class JgUnplannedCompany implements Serializable {
    /**
     * 主键id
     */
    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 企业id
     */
    @TableField(value = "COMPANY_ID")
    private Long companyId;

    /**
     * 检查年度
     */
    @TableField(value = "CHECK_YEAR")
    private String checkYear;

    /**
     * 企业名称
     */
    @TableField(value = "COMPANY_NAME")
    private String companyName;

    /**
     * 所属环节
     */
    @TableField(value = "SUP_PROCESS")
    private String supProcess;

    /**
     * 企业一级分类
     */
    @TableField(value = "COMPANY_TYPE_ID")
    private Long companyTypeId;

    /**
     * 企业二级分类
     */
    @TableField(value = "COMPANY_TWO_TYPE_ID")
    private Long companyTwoTypeId;

    /**
     * 风险等级
     */
    @TableField(value = "RISK_LEVEL")
    private String riskLevel;

    /**
     * 许可证号
     */
    @TableField(value = "LICENSE")
    private String license;

    /**
     * 监管机构ID
     */
    @TableField(value = "DEPT_ID")
    private Long deptId;

    /**
     * 监管机构名称
     */
    @TableField(value = "DEPT_NAME")
    private String deptName;

    /**
     * 所属区局ID
     */
    @TableField(value = "DEPT_QU_ID")
    private Long deptQuId;

    /**
     * 所属区局名称
     */
    @TableField(value = "DEPT_QU_NAME")
    private String deptQuName;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME")
    private Date createTime;

    /**
     * 删除状态0-未删除;1-已删除
     */
    @TableField(value = "DELETE_FLAG")
    private Integer deleteFlag;

    /**
     * 创建人ID
     */
    @TableField(value = "CREATOR_ID")
    private Long creatorId;

    /**
     * 创建人姓名
     */
    @TableField(value = "CREATOR_NAME")
    private String creatorName;

    /**
     * 企业地址
     */
    @TableField(value = "ADDRESS")
    private String address;

    /**
     * 非计划任务id
     */
    @TableField(value = "JG_UNPLANNED_ID")
    private Long jgUnplannedId;

    private static final long serialVersionUID = 1L;
}
